Skip to content

Refactor Print.cpp for consistency #5816

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from
Closed

Refactor Print.cpp for consistency #5816

wants to merge 1 commit into from

Conversation

roncapat
Copy link
Contributor

@roncapat roncapat commented Jan 7, 2017

  • Uniformed parameters (str, num) across "print" and corresponding "println".
  • Reorder methods to better separate non-ln and ln versions.

Signed-off-by: Patrick Roncagliolo [email protected]

Uniformed parameters (str, num) across "print" and corresponding "println". Reorder methods to better separate non-ln and ln versions.

Signed-off-by: Patrick Roncagliolo <[email protected]>
@matthijskooijman
Copy link
Collaborator

This looks like a sane cleanup to me.

This is related to (mostly in the sense that it touches the same code and will probably conflict) to #5829.

@roncapat
Copy link
Contributor Author

Ok, I'll wait for the #5829 to merge and then fix the patch in this PR

@cousteaulecommandant
Copy link
Contributor

#5829 actually removes println from Print.cpp (except for println(void)), so that weird order issue is already handled by that. The random arg names still persist though; it is true that they're a bit confusing.

@roncapat
Copy link
Contributor Author

I had a look to your PR (#5829), and I think it's a great cleanup. When it's merged, maybe I'll check for arg names refactor. I subscribed to your PR so I'll know when to rebase and start from updated sources.

@facchinm facchinm added the Print and Stream class The Arduino core library's Print and Stream classes label Jan 20, 2017
@CLAassistant
Copy link

CLAassistant commented Apr 9, 2021

CLA assistant check
All committers have signed the CLA.

@roncapat roncapat closed this Nov 18, 2021
@roncapat
Copy link
Contributor Author

Closing for obsolescence

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Print and Stream class The Arduino core library's Print and Stream classes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants